package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.service.UpdateDataBaseMonthService;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;


public class UpdateDataBaseMonthJob extends QuartzJobBean {


	private UpdateDataBaseMonthService updateDataBaseMonthService;


	@Override
	protected void executeInternal(JobExecutionContext jobexecutioncontext)
			throws JobExecutionException {

		updateDataBaseMonthService.startWork();
	}


	public UpdateDataBaseMonthService getUpdateDataBaseMonthService() {
		return updateDataBaseMonthService;
	}


	public void setUpdateDataBaseMonthService(
			UpdateDataBaseMonthService updateDataBaseMonthService) {
		this.updateDataBaseMonthService = updateDataBaseMonthService;
	}


	
	

}
